PEGetParameterMinMaxValue

Use PEGetParameterMinMaxValue to retrieve the minimum and/or maximum possible values for a specified parameter in a report.

C Syntax
BOOL CRPE_API PEGetParameterMinMaxValue (
        short printJob,
        const char FAR *parameterFieldName,
        const char FAR *reportName,
        PEValueInfo FAR *valueMin,
        PEValueInfo FAR *valueMax );
Parameters

printJob

Specifies the print job for which you want to retrieve the parameter min/max values.

parameterFieldName

Specifies a pointer to the string containing the parameter name.

reportName

Specifies a pointer to the string containing the report name. See Remarks below.

valueMin

Specifies a pointer to PEValueInfo, in which information about the minimum parameter value will be returned. See Remarks below.

valueMax

Specifies a pointer to PEValueInfo, in which information about the maximum parameter value will be returned. See Remarks below.

Returns
Remarks
VB Syntax
Declare Function PEGetParameterMinMaxValue Lib "crpe32.dll" ( _
    ByVal printJob As Integer, ByVal parameterFieldName As String, _
    ByVal reportName As String, valueMin As PEValueInfo, _
    valueMax As PEValueInfo ) As Integer
Delphi Syntax

Delphi code for getting/setting parameter field information

function PEGetParameterMinMaxValue (
    printJob: smallint;
    const parameterFieldName: PChar;
    const reportName: PChar;
    var valueMin: PEValueInfo;     
    var valueMax: PEValueInfo     }
    ): BOOL stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com